package com.wingsoft.work.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wingsoft.common.core.domain.BasicEntity;

/**
 * 用户套餐对象 t_user_vip
 *
 * @author hemj
 * @date 2025-10-20
 */
@Data
@TableName("t_user_vip")
public class UserVip extends BasicEntity
{

    /** 主键 */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 积分 */
    private BigDecimal pointNum;

    /** 到期时间 */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expireTime;
    /** 状态，1为正常，2为失效 */
    private Integer status;

    private BigDecimal totalPointNum;

}
